#ifndef __BUTTON_H_ 
#define __BUTTON_H_ 

#include <PeopleData.h>
#include <RadioButton.h>
#include <sstream>
#include <ListBoxPeople.h>

struct Button
{    
	virtual void onClick() = 0;   
	virtual ~Button() {}
};  

class PeopleButton:public Button
{
public:
	PeopleButton(FormatRadioButton& formatRadioButton);
	void onClick();	
	void setPeopleList(ostringstream& ostr, ListBoxPeople& boxCommon);

private:
	FormatRadioButton& formatRadioButton_m;
	ostringstream* pOstr_m;
	ListBoxPeople* pBoxCommon_m;	

};

#endif
